<template>
    <div class="vue">vue2</div>
    <div>{{ n }}</div>
    <button @click="n += 1" class="btn">dianwo</button>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const n = ref<number>(0)
</script>

<style lang="scss" scoped>
.vue {
    background-color: red;
    
    display: flex;
}
</style>
